<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-uid" data-rule="required"  data-source="user/user/driver" class="form-control selectpage"  data-init='{$row.uid}' name="row[uid]" type="text" data-field="username">

            <!--<input id="c-uid" class="form-control" name="row[uid]" type="text" value="{$row.uid}">-->
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dir_license')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dir_license" class="form-control" name="row[dir_license]" type="text" value="{$row.dir_license}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Accident')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-accident" class="form-control" name="row[accident]" type="text" value="{$row.accident}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Evaluate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-evaluate" class="form-control" name="row[evaluate]" type="text" value="{$row.evaluate}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Workstatus')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:Form::switcher('row[workstatus]', $row['workstatus'], ['color'=>'success'])}
            <!--<input id="c-workstatus" class="form-control switcher" name="row[workstatus]" type="text" value="{$row.workstatus}">-->
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-images" class="form-control" size="50" name="row[images]" type="text" value="{$row.images}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-images" class="btn btn-danger plupload" data-input-id="c-images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-images" class="btn btn-primary fachoose" data-input-id="c-images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-images"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-images"></ul>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
